<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@  page import="java.util.*,com.rimi.bean.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>睿峰科技图书管理系统</title>


<!--在核心配置文件中设置了静态资源的处理,所以这里默认是从项目根路径开始  !!!!-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="assets/css/dpl-min.css" rel="stylesheet" type="text/css" />
<link href="assets/css/bui.css" rel="stylesheet" type="text/css" />
<link href="assets/css/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
    function back(){
  		if(confirm("确认退出")){
    		window.location.href="login.html";
  		}
  
	}
    </script>
</head>
<body>


	<!--<div class="header">

    <div class="dl-title">
        <img src="/chinapost/Public/assets/img/top.png">
    </div>

    <div class="dl-log">欢迎您，<span class="dl-log-user">张三</span><a href="/chinapost/index.php?m=Public&a=logout" title="退出系统" class="dl-log-quit">[退出]</a>
    </div>
</div>-->
	<div class="content">
		<div class="dl-main-nav">
			<div class="dl-inform">
				<div class="dl-inform-title">
					<s class="dl-inform-icon dl-up"></s>
				</div>
			</div>
			<ul id="J_Nav" class="nav-list ks-clear" style="float: left">
				<!--<li class="nav-item dl-selected"><div class="nav-item-inner nav-home">信息采编系统</div></li>-->
				<li
					style="color: #000; font-size: 25px; margin-top: 17px; margin-left: 20px;">睿峰科技图书管理系统平台</li>
			</ul>
			<div
				style="float: right; color: #F15D0C; margin-top: 22px; margin-right: 21px; font-size: 18px; font-weight: 800;">
				欢迎您，<span class="dl-log-user">张三</span><a href="javascript:void(0)"
					onclick="back()" id="out" title="退出系统" class="dl-log-quit">[退出]</a>
			</div>
		</div>

		<ul id="J_NavContent" class="dl-tab-conten">
		</ul>
	</div>
	<script type="text/javascript" src="assets/js/jquery-1.6.js"></script>
	<script type="text/javascript" src="assets/js/bui.js"></script>
	<script type="text/javascript" src="assets/js/common/main-min.js"></script>
	<script type="text/javascript" src="assets/js/config-min.js"></script>


	<script>
    BUI.use('common/main',function(){
        var config = [
		{id:'1',menu:[
			
		{text:'快速通道',items:[
			//必须动态生成
			<%List list = (List) request.getAttribute("menus");
			for (int i = 0; i < list.size(); i++) {
				MenuBean mb = (MenuBean) list.get(i);%>
				//得到的是String类型所以要加单引号
			{id:<%=mb.getMenuId()%>,text:'<%=mb.getMenuName()%>',href:'<%=mb.getMenuUrl()%>'},	
				<%}%>
		             
		/* {id:'2',text: '书籍管理',href:'Book/index.html'},		
		{id:'11',text:'用户管理',href:'User/index.html'},
		{id:'12',text:'角色管理',href:'Role/index.html'},
		{id:'13',text:'菜单管理',href:'Menu/index.html'},
		{id:'13',text:'密码管理',href:'User/password.html'} */
		
		]}
		
		]}
		
		];
        new PageUtil.MainPage({
            modulesConfig : config
        });
    });
</script>
</body>
</html>
